{include file=header.html}
 <script type="text/javascript" language="javascript" src="{lib file=jquery-1.6.3.min.js}"></script>
 <script type="text/javascript">
<!--
$(function(){
	$('#add_sample').click(function(){
	     window.location = "index.php?app=sample&act=add_sample";
	});
	$('#sample_reveal').click(function(){
	     window.location = "index.php?app=sample&act=reveal";
	});
});
//-->
</script>
<style type="text/css">
.tab_info .list_pic { width: 100%; overflow: hidden; padding-left: 6px; }
.tab_info .list_pic li { width: 222px; height: 300px; overflow: hidden; float: left; text-align: center; }
.tab_info .list_pic li p { width: 222px; margin: 0 auto; }
.tab_info .list_pic li p a { display: block; width: 222px; height: 270px; overflow: hidden; border: 1px solid #c4c4c4; padding: 2px; }
.tab_info .list_pic li p a:hover { border: 1px solid #999; }
.tab_info .list_pic h3 { width: 100px; margin: 6px auto 0; }
.tab_info .list_pic h3 a { display: block; width: 140px; height: 32px; line-height: 16px; overflow: hidden; font-weight: normal; color: #666; text-decoration: none; font-size: 12px; }
.tab_info .list_pic h3 a:hover { text-decoration: underline; }
.tab_info .list_pic h3 span { display: block; color: #fe5504; font-weight: bold; font-size: 14px; }
</style>
<body>
<div class="sub-body">
	<form method="get">
		<input type="hidden" name="app" value="sample" />
		<input type="hidden" name="act" value="order_reveal" />
		<table cellspacing="0" cellpadding="0" class="search" width="40%">
			<tr>
				<th width="25%">款式：</th>
				<td width="50%"><select name="style_id">
						<option value=" "></option>
						<!--{foreach from=$style_list item=style}-->
						<option value="{$style.style_id}" {if $style.style_id == $smarty.get.style_id}selected{/if}>{$style.style_name|escape}</option>
						<!--{/foreach}-->
					</select>
				</td>
				<td width="100"><input name="search" type="submit" class="inquiry" value="{$lang.search}"/></td>
			</tr>
		</table>
	</form>
	<div class="tab_info" style="padding-bottom: 20px;">
		<div style="padding-bottom: 6px;"><input class="inquiry" value="{$lang.add_sample}" type="button" id="add_sample"></div>
		<h3 class="tab-title-1"><span id="sample_reveal" style="cursor: pointer;">{$lang.reveal_sample}</span>&nbsp;&nbsp;<span style="color: blue">{$lang.order_reveal}</span></h3>
		<div style="border: 1px solid #ccc;border-top: none;margin-top:-1px;padding-bottom: 30px">
			<!-- {if $order_list} -->
			<ul class="list_pic">
			<!-- {foreach from=$order_list item=order} -->
				<li>
				<p><a href="{url app=sample&act=order_detail&id=$order.order_id}" title=""><img src="{$order.default_image|escape}" title=""  style="border:1px solid #ccc; width:auto; height:270px;" /></a></p>
				<h3 style="text-align: left"><a href="javascript::void();">上架时间:{$order.buyer_arrival_date|date}</a></h3>
				</li>
			<!-- {/foreach} -->
			</ul>
			<!-- {/if} -->
		</div>
		{include file=page.html}
	</div>
	 </div>
</body>
</html>